/*
 * @Author: your name
 * @Date: 2020-09-18 09:44:07
 * @LastEditTime: 2020-09-18 09:44:24
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \supplyweb\src\utils\get-page-title.js
 */

import defaultSettings from '@/settings'

const title = defaultSettings.title || '企业供需精准对接服务'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}